package cn.wolfcode.qo;

import lombok.Data;

/**
 * @author Ian
 * @date 2021/4/19 13:35
 */
@Data
public class QueryObject {
    private Integer currentPage;
    private Integer pageSize;

    public int getStart(){
        return (this.currentPage-1)*this.pageSize;
    }
}
